package com.anxinr.service;

import com.anxinr.pojo.entity.Goods;
import com.anxinr.pojo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author : anxinr
 * @date : 2023/2/3 11:45
 */
public interface GoodsService extends IService<Goods> {

    /**
     * 减库存
     * @param id
     * @return
     */
    boolean reduceInventory(Long id) ;
}
